package cn.gov.cus.rmftquartz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.WebApplicationInitializer;

/**
 * 主项目此处还有一个注解：@SuppressWarnings("SpringFacetCodeInspection")，怀疑加上该注解才能自动拦截错误。
 * @author kyou on 2017/12/29 下午7:40
 */
@SpringBootApplication
@EnableTransactionManagement
public class QuartzDemoApplication extends SpringBootServletInitializer implements WebApplicationInitializer{

    public static void main(String[] args) {
        SpringApplication.run(QuartzDemoApplication.class, args);
    }
}